package dao;

import java.util.ArrayList;

import metier.Encherir;


public interface DAOEncherir {

	
	Encherir				get(int id)		throws Exception;
	ArrayList<Encherir>	loadAll()			throws Exception;
	void				save(Encherir encherir)	throws Exception;
	void				saveOrupdate(Encherir encherir)	throws Exception;
	void				delete(Encherir encherir)	throws Exception;
	void				update(Encherir encherir)	throws Exception;
	Encherir			lastEnchere(int id_offre) throws Exception;
	ArrayList<Encherir> allEnchere(int id_offre) throws Exception;
	
}
